<%--
  Created by IntelliJ IDEA.
  User: AugusDuan
  Date: 2017/12/2
  Time: 15:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/">
    <title>毕业设计项目</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <script src="script/common.js"></script>
    <script type="text/javascript" src="js/jquery-1.9.0.js"></script>
</head>
<script>

    function saveTextarea() {
        var insertInfo = $('#insertInfo').val();
        var url = 'cstLost/insertCsLost?lstDelay='+insertInfo+'&lstId='+${cstLost.lstId};
        to(url);
    }

</script>
<body>

<div class="page_title">客户流失管理 &gt; 确认流失</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="back();">返回</button>
    <button class="common_button" onclick="to('cstLost/detailCstLost?lstId=${cstLost.lstId}');">确认流失</button>
    <button class="common_button" onclick="saveTextarea();">保存</button>
</div>
<table class="query_form_table">
    <tr>
        <th>编号</th>
        <td>${cstLost.lstId}</td>
        <th>客户</th>
        <td>${cstLost.lstCustName}</td>
    </tr>
    <tr>
        <th>客户经理</th>
        <td>
            ${cstLost.lstCustManagerName}</td>
        <th>上次下单时间</th>
        <td>
            ${cstLost.lstLastOrderDate}</td>
    </tr>
    <tr>
        <th>暂缓措施</th>
        <td colspan="3">
            ${cstLost.lstDelay}
        </td>
    </tr>
    <tr>
        <th>追加暂缓措施</th>
        <td colspan="3">
            <textarea rows="6" cols="50" id="insertInfo"></textarea><span class="red_star">*</span></td>
    </tr>
</table>
<br />
</body>
</html>
